using System;
using System.Collections.Generic;
using System.Text;

namespace UserRegisterClient_http
{
    class Program
    {
        static void Main(string[] args)
        {
            contososrv.User user = new UserRegisterClient_http.contososrv.User();
            user.FirstName = "http";
            user.LastName = "wcf";
            UserRegisterClient_http.contososrv.UserRegisterClient proxy = new UserRegisterClient_http.contososrv.UserRegisterClient();
            int count=proxy.RegisterUser(user);
            Console.WriteLine(count.ToString());
            Console.ReadLine();
            proxy.Close();
        }
    }
}
